package com.suep.business.service;

import com.suep.business.domain.Meal;

import java.util.List;

public interface IMealService {
    Integer insertMeal(Meal meal);
    Integer updateMeal(Meal meal);

    List<Meal> selectMealListByStoreIdByCategoryId(Integer storeId, Integer categoryId);

    Integer deleteMeal(Integer mealId);
    Meal selectMealById(Integer mealId);
    /*根据店铺ID查询菜品列表*/
    List<Meal> selectMealsByStoreId(Integer storeId);
    /*可以销售的菜品列表*/
    List<Meal> selectSalableMeals(Integer storeId, Integer categoryId, Boolean isAvailable);
    List<Meal> selectMealPage(int page, int size);
}
